package cn.jsonlu.dubbo.privider;

import cn.jsonlu.dubbo.rpc.DemoService;
import cn.jsonlu.dubbo.rpc.User;

/**
 * Author:JsonLu
 * DateTime:16/7/31 09:32
 * Email:jsonlu@qq.com
 * Desc:
 */
public class DemoServiceImpl implements DemoService {
    public User grown(User user) {
        user.setAge(user.getAge()+1);
        return user;
    }
}
